package com.ruoyi.kanfang.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品房降价日志对象 t_building_detail_reduce_log
 * 
 * @author limin
 * @date 2024-05-08
 */
@Data
public class BuildingDetailReduceLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 房源ID */
    @Excel(name = "房源ID")
    private Long detailId;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal originPrice;

    /** 降价金额 */
    @Excel(name = "降价金额")
    private BigDecimal reducePrice;

    /** 当前价格 */
    @Excel(name = "当前价格")
    private BigDecimal currentPrice;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTm;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTm;
}
